.row{
    margin: 0!important;
}
.banner {
    background-color: #2B80D9;
    text-align: center;
    margin-top: 45px;
    img {
        width: 100%;
    }
    &:hover{
        img{
            opacity: 0.8;
        }
    }
}

.engine {

    background-color: #FBFAF7;

    // padding: 60px 0;
    .engine-bg {
        background-image: url('../image/index/flash-bg.jpg');
        background-repeat: no-repeat;
        background-position: right bottom;
        padding: 60px 10px;
    }

    h1 {
        font-size: 3.43em;
        font-weight: bold;
        color: #0078d7;
        border: none;
    }

    h2 {
        font-size: 2.28em;
    }

    .flash-intro {
        padding-top: 60px;
        margin-top: -15px;
        margin-left: 0;
        margin-right: 0;
        .items {
            // background-color: greenyellow;
            margin-bottom: 3em;

            .item-detail {
                padding: 0;

                .icon {
                    flex: none;
                    width: 64px !important;
                    height: 64px;
                    background-color: #0078D7;
                    background-image: url('../image/index/flash-001.png');
                    background-repeat: no-repeat;
                    background-position: center;
                    // background-size: cover;
                    margin: 0 auto;
                    // transform: scale(1.1);
                    transition: all 0.8s;
                    &:hover{
                        // background-color: red;
                        transform: rotate(360deg);
                    }
                }
                
                @for $i from 1 to 5 {
                    .icon#{$i} {
                        background-image: url('../image/index/flash-00#{$i}.png');
                    }
                }

                .text {
                    // padding-left: 2em;
                    // margin-left: 2em;
                    // box-sizing: border-box;
                    // margin-left: 2em;
                    h4 {
                        font-size: 1.43em;
                        color: #333333;
                    }

                    p {
                        color: #666666;
                        margin: 0 0 10px;
                        line-height: 25px;
                    }
                }
            }
        }
    }
}

.advantage {
    padding: 89px 10px;

    .advantage-img {
        text-align: center;
        img{
            width: 100%;
        }
    }

    .advantage-text {

        // text-align: center;
        h2 {
            font-size: 3.43em;
            color: #8fc31f;
            font-weight: bold;
        }

        ul {

            // text-align: center;
            li {
                padding: 10px 0;
                display: flex;
                font-size: 1em;
                color: #727171;

                // line-height: 50px;
                p {
                    display: flex;
                    align-items: center;
                }

                .icon {
                    width: 54px;
                    height: 54px;
                    background-color: #8fc31f;
                    margin-right: 1em;
                    border-radius: 50%;
                    background-position: center;
                }
            }

            @for $k from 1 to 5 {
                li:nth-of-type(#{$k}) {
                    .icon {
                        background-image: url('../image/index/ad0#{$k}.png');
                    }
                }
            }

        }
    }
}


.family {
    padding: 54px 0 102px;
    background-color: #0079D7;

    .family-bg {

        .family-content {
            h1 {
                color: #ffffff;
                font-size: 3.43em;
                line-height: 80px;
                font-weight: normal;
                text-align: center;
                margin: 40px 0 20px;
            }

            .family-introduction {
                .family-icon {
                    background-image: url('../image/index/pro001.png');
                    background-repeat: no-repeat;
                    background-position: center;
                    height: 110px;
                }

                @for $i from 1 to 7 {
                    .icon#{$i} {
                        background-image: url('../image/index/pro00#{$i}.png');
                    }
                }

                .family-text {
                    h3 {
                        font-size: 2.28rem;
                        color: #ffffff;
                        margin: 10px 0;
                    }

                    p {
                        line-height: 30px;
                        text-align: justify;
                        font-size: 1rem;
                        color: #ffffff;
                        margin-bottom: 10px;
                    }
                }
            }
        }
    }
}

.games {
    padding: 26px 10px 54px;

    .title {
        display: flex;
        align-items: center;
        justify-content: space-between;

        h2 {
            text-align: left;
            font-size: 2.58rem;
            padding-bottom: 30px;
        }

        .more {
            font-size: 1.14rem;
            padding-bottom: 30px;
        }
    }

    .games-display {
        .video-player{
            width: 100%; 
            height: 100%;
        }
        // background-color: red;
        .videos {
            img {
                width: 100%;
                height: 100%;
            }
        }

        .games-icons {
            display: flex;
            flex-wrap: wrap;
            align-content: stretch;
            
            .items {
                flex-shrink: 0;
                display: flex;
                flex-direction: column;
                align-items: center;
                h5 {
                    margin: 8px 0;
                    color: #2a2a2a;
                    font-size: 1em;
                    text-align: center;
                }
                &:hover{
                    opacity: 0.8;
                }
            }
        }
    }
}

// border: 1px solid #ddd
.cooperation {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #F4F4F4;

    .title {
        display: flex;
        font-size: 30px;
        margin: 0px 0 20px;

        h1 {
            font-size: 30px;
        }

        span {
            align-self: flex-end;
            font-size: 0.4em;
            margin-bottom: 5px;
        }
    }

    .company-icons {
        .item {

            margin-bottom: 20px;
            padding-left: 15px;
            .padding {
                width: 100%;
                padding: 4px;
   
                background-color: #fff;
                border: 1px solid #ddd;
                img {
                    width: 100%;
                    // padding-left: 15px;
                }
            }
            &:hover{
                opacity: 0.8;
            }
        }
    }
}

@media screen and (min-width:50px) {
    .more {
        display: none;
    }

    .games-display {
        .games-icons {
            display: flex;
            flex-wrap: wrap;

            .items {
                width: 50%;
                display: flex;
                flex-direction: column;

                img {
                    width: 40px;
                }
            }
        }
    }
}

@media screen and (min-width:299px) {
    .more {
        display: none;
    }

    .games-display {
        .games-icons {
            display: flex;
            flex-wrap: wrap;

            .items {
                width: 10%;
                display: flex;
                flex-direction: column;

                img {
                    width: 10%;
                }
            }
        }
    }
}

@media screen and (min-width:300px) {
    .more {
        display: none;
    }

    .games-display {
        .games-icons {
            display: flex;
            flex-wrap: wrap;

            .items {
                width: 33.3%;
                display: flex;
                flex-direction: column;

                img {
                    width: 32%;
                }
            }
        }
    }
}

@media screen and (min-width:500px) {
    .more {
        display: none;
    }

    .games-display {
        .games-icons {
            display: flex;
            flex-wrap: wrap;

            .items {
                width: 33.3%;
                display: flex;
                flex-direction: column;

                img {
                    width: 38%;
                }
            }
        }
    }
}

@media screen and (min-width:767px) {
    .more {
        display: block;
    }

    .games-display {
        .games-icons {
            display: flex;
            flex-wrap: wrap;

            .items {
                width: 25%;
                display: flex;
                flex-direction: column;

                img {
                    width: 58%;
                }
            }
        }
    }
}

@media screen and (min-width:1000px) {
    .games-display {
        .games-icons {
            display: flex;
            flex-wrap: wrap;

            .items {
                width: (100%/6);
                display: flex;
                flex-direction: column;

                img {
                    width: 72%;
                }
            }
        }
    }

}

@media screen and (max-width:300px) {
    .games-display {
        margin-top: 20px;
    }
}

@media screen and (max-width:767px) {
    .engine {
        .engine-bg {
            background-image: none;
        }
    }
}